<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>PHONECARDMS</title>
	
		<STYLE type="text/css"> 
		.np { font-family: Webdings; font-size:18px; color:black; cursor:hand; }
	A:link { COLOR: #000000; FONT-SIZE: 12px; TEXT-DECORATION: none}
	A:visited { COLOR: #000000; FONT-SIZE: 12px; TEXT-DECORATION: none}
	A:hover { COLOR: #cc0000; FONT-SIZE: 12px; TEXT-DECORATION: none}
	BODY {
	FONT-SIZE: 12px;
	scrollbar-face-color:#F0F0E5;
	scrollbar-shadow-color:#000000;
	scrollbar-highlight-color:#000000;
	scrollbar-3dlight-color:#F0F0E5;
	scrollbar-darkshadow-color:#F0F0E5;
	scrollbar-track-color:#F0F0E5;
	scrollbar-arrow-color:#000000;
	margin-left: 0px;
	margin-top: 0px;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;	
}
	TD { FONT-SIZE: 12px; line-height: 150%}
		.STYLE1 {color: #FFFFFF}
        </STYLE>
		<SCRIPT language="javascript">
			function switchSysBar()
			{
				if (switchPoint.innerText==3)
				{
					switchPoint.innerText=4
					document.all("mnuList").style.display="none"
					top.content.cols="16,*"
				}
				else
				{
					switchPoint.innerText=3
					document.all("mnuList").style.display=""  
					top.content.cols="166,*"  
				}
			}
		</SCRIPT>
	</head>
	<body>
	 	<script language="JavaScript"> 
		  <!-- 
		  function showitem(id,name) 
		  {
		  //return ("<span><a href='"+id+"' target=_blank>"+name+"</a></span><br>") 
		  return ("<span><a target='main' href='" + id + "'>"+name+"</a></span><br>")
		  //return ("<span><a target=_top href='" + id + "' onclick=\"url('"+id+"');\">"+name+"</a></span><br>") 
		  } 
		  function url(id) 
		  { 
		  var source = document.getElementById('fMain'); 
		  source.src=id; 
		  } 
		  function switchoutlookBar(number) 
		  { 
		  var i = outlookbar.opentitle; 
		  outlookbar.opentitle=number; 
		  var id1,id2,id1b,id2b 
		  if (number!=i && outlooksmoothstat==0){ 
		  if (number!=-1) 
		  { 
		  if (i==-1){ 
		  id2="blankdiv"; 
		  id2b="blankdiv"; 
		  } 
		  else{ 
		  id2="outlookdiv"+i; 
		  id2b="outlookdivin"+i; 
		  document.all("outlooktitle"+i).style.border="1px none navy"; 
		  //document.all("outlooktitle"+i).style.background=outlookbar.maincolor; 
		  document.all("outlooktitle"+i).style.color="#ffffff"; 
		  document.all("outlooktitle"+i).style.textalign="center"; 
		  } 
		  id1="outlookdiv"+number 
		  id1b="outlookdivin"+number 
		  document.all("outlooktitle"+number).style.border="1px none white"; 
		  //document.all("outlooktitle"+number).style.background=outlookbar.maincolor; //title 
		  document.all("outlooktitle"+number).style.color="#ffffff"; 
		  document.all("outlooktitle"+number).style.textalign="center"; 
		  smoothout(id1,id2,id1b,id2b,0); 
		  } 
		  else 
		  { 
		  document.all("blankdiv").style.display=""; 
		  document.all("blankdiv").sryle.height="100%"; 
		  document.all("outlookdiv"+i).style.display="none"; 
		  document.all("outlookdiv"+i).style.height="0%"; 
		  document.all("outlooktitle"+i).style.border="1px none navy"; 
		  //document.all("outlooktitle"+i).style.background=outlookbar.maincolor; 
		  document.all("outlooktitle"+i).style.color="#ffffff"; 
		  document.all("outlooktitle"+i).style.textalign="center"; 
		  } 
		  } 
		  } 
		  function smoothout(id1,id2,id1b,id2b,stat) 
		  { 
		  if(stat==0){ 
		  tempinnertext1=document.all(id1b).innerHTML; 
		  tempinnertext2=document.all(id2b).innerHTML; 
		  document.all(id1b).innerHTML=""; 
		  document.all(id2b).innerHTML=""; 
		  outlooksmoothstat=1; 
		  document.all(id1b).style.overflow="hidden"; 
		  document.all(id2b).style.overflow="hidden"; 
		  document.all(id1).style.height="0%"; 
		  document.all(id1).style.display=""; 
		  setTimeout("smoothout('"+id1+"','"+id2+"','"+id1b+"','"+id2b+"',"+outlookbar.inc+")",outlookbar.timedalay); 
		  } 
		  else 
		  { 
		  stat+=outlookbar.inc; 
		  if (stat>100) 
		  stat=100; 
		  document.all(id1).style.height=stat+"%"; 
		  document.all(id2).style.height=(100-stat)+"%"; 
		  if (stat<100)   
		  setTimeout("smoothout('"+id1+"','"+id2+"','"+id1b+"','"+id2b+"',"+stat+")",outlookbar.timedalay); 
		  else 
		  { 
		  document.all(id1b).innerHTML=tempinnertext1; 
		  document.all(id2b).innerHTML=tempinnertext2; 
		  outlooksmoothstat=0; 
		  document.all(id1b).style.overflow="auto"; 
		  document.all(id2).style.display="none"; 
		  } 
		  } 
		  } 
		  function getOutLine() 
		  { 
		  outline="<table "+outlookbar.otherclass+">"; 
		  for (i=0;i<(outlookbar.titlelist.length);i++) 
		  { 
		  outline+="<tr><td name=outlooktitle"+i+" id=outlooktitle"+i+" background='../image/item_bg.gif'";   
		  if (i!=outlookbar.opentitle)   
		  outline+=" nowrap align=center style='cursor:pointer;background-color:"+outlookbar.maincolor+";color:#ffffff;height:20;border:1 none navy' "; 
		  else 
		  outline+=" nowrap align=center style='cursor:pointer;background-color:"+outlookbar.maincolor+";color:white;height:20;border:1 none white' "; 
		  outline+=outlookbar.titlelist[i].otherclass 
		  outline+=" onclick='switchoutlookBar("+i+")'><span class=smallFont>"; 
		  outline+=outlookbar.titlelist[i].title+"</span></td></tr>"; 
		  outline+="<tr><td name=outlookdiv"+i+" valign=top align=center id=outlookdiv"+i+" style='width:100%" 
		  if (i!=outlookbar.opentitle)   
		  outline+=";display:none;height:0%;"; 
		  else 
		  outline+=";display:;height:100%;"; 
		  outline+="'><div name=outlookdivin"+i+" id=outlookdivin"+i+" style='overflow:auto;width:100%;height:100%'>"; 
		  for (j=0;j<outlookbar.itemlist[i].length;j++) 
		  outline+=showitem(outlookbar.itemlist[i][j].key,outlookbar.itemlist[i][j].title); 
		  outline+="</div></td></tr>" 
		  } 
		  outline+="</table>" 
		  return outline 
		  } 
		  function show() 
		  { 
		  var outline; 
		  outline="<div id=outLookBarDiv name=outLookBarDiv style='width=100%;height:100%'>" 
		  outline+=outlookbar.getOutLine(); 
		  outline+="</div>" 
		  document.write(outline); 
		  } 
		  function theitem(intitle,instate,inkey) 
		  { 
		  this.state=instate; 
		  this.otherclass=" nowrap "; 
		  this.key=inkey; 
		  this.title=intitle; 
		  } 
		  function addtitle(intitle) 
		  { 
		  outlookbar.itemlist[outlookbar.titlelist.length]=new Array(); 
		  outlookbar.titlelist[outlookbar.titlelist.length]=new theitem(intitle,1,0); 
		  return(outlookbar.titlelist.length-1); 
		  }
		  
		  function additem(intitle,parentid,inkey) 
		  { 
		  if (parentid>=0 && parentid<=outlookbar.titlelist.length) 
		  { 
		  outlookbar.itemlist[parentid][outlookbar.itemlist[parentid].length]=new theitem(intitle,2,inkey); 
		  outlookbar.itemlist[parentid][outlookbar.itemlist[parentid].length-1].otherclass=" nowrap align=left style='height:5' "; 
		  return(outlookbar.itemlist[parentid].length-1); 
		  } 
		  else 
		  additem=-1; 
		  } 
		  function outlook() 
		  { 
		  this.titlelist=new Array(); 
		  this.itemlist=new Array(); 
		  this.divstyle="style='height:100%;width:100%;overflow:auto' align=center";//可以在这里设置对齐方式 
		  this.otherclass="border=0 cellspacing='0' cellpadding='0' style='height:100%;width:100%'valign=middle align=center "; 
		  this.addtitle=addtitle; 
		  this.additem=additem; 
		  this.starttitle=-1; 
		  this.show=show; 
		  this.getOutLine=getOutLine; 
		  this.opentitle=this.starttitle; 
		  this.reflesh=outreflesh; 
		  this.timedelay=50; 
		  this.inc=10; 
		  this.maincolor = "#C04000" 
		  } 
		  function outreflesh() 
		  { 
		  document.all("outLookBarDiv").innerHTML=outlookbar.getOutLine(); 
		  } 
		  function locatefold(foldname) 
		  { 
		  if (foldname=="") 
		  foldname = outlookbar.titlelist[0].title 
		  for (var i=0;i<outlookbar.titlelist.length;i++) 
		  { 
		  if(foldname==outlookbar.titlelist[i].title) 
		  { 
		  outlookbar.starttitle=i; 
		  outlookbar.opentitle=i; 
		  } 
		  } 
		  } 
		  var outlookbar=new outlook(); 
		  var tempinnertext1,tempinnertext2,outlooksmoothstat 
		  outlooksmoothstat = 0; 
		  
		  var t;t=outlookbar.addtitle('系统安全管理');	
		  outlookbar.additem('菜单管理',t,'');
		  outlookbar.additem('机构管理',t,'${pageContext.request.contextPath}/base/deptManager.jsp');
		  outlookbar.additem('用户管理',t,'${pageContext.request.contextPath}/base/personnelManager.jsp');
		  outlookbar.additem('角色管理',t,'');
		  outlookbar.additem('权限管理',t,'');
		  outlookbar.additem('流程模版管理',t,'');		 
		  
		  var t;t=outlookbar.addtitle('系统基本信息管理');
		  outlookbar.additem('卡信息管理',t,'');
		  outlookbar.additem('卡类型管理',t,'');
		  outlookbar.additem('版面设计管理',t,'');
		  outlookbar.additem('制卡商信息管理',t,'');
		  outlookbar.additem('库存限额管理',t,'');
		  outlookbar.additem('制卡材质管理',t,'');
		  outlookbar.additem('到货联系人管理',t,'');
		  outlookbar.additem('代理商信息管理',t,'');
		  outlookbar.additem('数据字典管理',t,'${pageContext.request.contextPath}/base/dictManager.action');
		  
		  var t;t=outlookbar.addtitle('个人设置');	
		  outlookbar.additem('修改密码',t,'');
		  outlookbar.additem('修改基本信息',t,'');
		  
		  var t;t=outlookbar.addtitle('数据初始化子系统');	
		  outlookbar.additem('初始化卡信息',t,'');
			
		  var t;t=outlookbar.addtitle('报领管理');
		  outlookbar.additem('报领单管理',t,'${pageContext.request.contextPath}/apply.do?method=list');
		  outlookbar.additem('填写报领单',t,'${pageContext.request.contextPath}/apply.do?method=merge');
		  outlookbar.additem('查看报领单',t,'${pageContext.request.contextPath}/apply.do?method=audit&flag=2');
		  
		  var t;t=outlookbar.addtitle('出库管理');
		  outlookbar.additem('出库单管理',t,'${pageContext.request.contextPath}/output.do?method=list');
		  outlookbar.additem('填写出库单',t,'${pageContext.request.contextPath}/output.do?method=merge');
		  outlookbar.additem('查看出库单',t,'${pageContext.request.contextPath}/output.do?method=audit&flag=3');
		  
		  var t;t=outlookbar.addtitle('入库管理');
		  outlookbar.additem('入库单管理',t,'${pageContext.request.contextPath}/input.do?method=list');
		  outlookbar.additem('填写入库单',t,'${pageContext.request.contextPath}/input.do?method=merge');
		  outlookbar.additem('查看入库单',t,'${pageContext.request.contextPath}/input.do?method=audit&flag=1');
	  
	  	  var t;t=outlookbar.addtitle('客户管理');	
		  outlookbar.additem('客户信息管理',t,'');
		  outlookbar.additem('新建客户信息',t,'');
		  //--> 
		</script>
		<table cellspacing="0" cellpadding="0" border="0" height="100%" width="100%" align="left">
			<tr>
				<td>
					<TABLE id="mnulist" height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
						<TR>
							<TD height="100%" background="../image/2.gif" vAlign="top" noWrap align="left"
								width="180">
								<script language="JavaScript"> 
										locatefold("")
										outlookbar.show()
								</script>
								<FONT face="宋体"></FONT>
							</TD>
						</TR>
					</TABLE>
				</td>
			</tr>
		</table>
		</body>
</HTML>